package com.cpit.platform.tool.templet.service.impl;


import com.cpit.platform.dao.EntityRepository;
import com.cpit.platform.service.impl.EntityServiceImpl;
import com.cpit.platform.tool.templet.dao.TempletEntityRepository;
import com.cpit.platform.tool.templet.entity.TempletEntity;
import com.cpit.platform.tool.templet.service.TempletEntityService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service
@Transactional(rollbackFor = Exception.class)
public class TempletEntityServiceImpl extends EntityServiceImpl<TempletEntity> implements TempletEntityService {
    @Autowired
    private TempletEntityRepository entityRepository;

    @Override
    protected EntityRepository getEntityRepository() {
        return entityRepository;
    }
}
